package com.eamois.dao.manual;

import java.util.Collection;
import java.util.Set;

import com.eamois.dao.BaseDao;
import com.eamois.domain.manual.ProcessEntity;
import com.eamois.domain.manual.Stoppage;
import com.eamois.domain.manual.StoppageType;
import com.eamois.domain.sys.SubMaterial;
import com.eamois.domain.sys.WorkCenter;

public interface StoppageDao extends BaseDao<Stoppage>{
	public Collection<Stoppage> findStoppage(StoppageType stoppageType);
	public Collection<Stoppage> findStoppage(WorkCenter workCenter);
	public Collection<Stoppage> findStoppage(String partid,String partvar);
	Collection<Stoppage> findStoppageByDescribe(String describe);
	Collection<Stoppage> findStoppageByVerify(String verify);
	Collection<Stoppage> findStoppageByName(String name);
	public Collection<Stoppage> findStoppageByType(StoppageType stoppageType,int page);
	
	Collection<Stoppage> findByBelongId( String id);
}
